package com.zeny.coding;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.ConfigurableEnvironment;
@SuppressWarnings("all")
@MapperScan("com.zeny.coding.mapper")
@SpringBootApplication
@Slf4j
public class CodingApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(CodingApplication.class);
        ConfigurableEnvironment environment = springApplication.run(args).getEnvironment();
        log.info("Coding启动成功!!");
        log.info("Coding的地址: \t{}", environment.getProperty("server.url"));
    }

}
